<!DOCTYPE html>
<html>
<head>
<title>支付监控</title>
<meta http-equiv="content-type" content="text/html;charset=utf-8">
<style type='text/css'>
.table_list{width:700px;border:1px solid #ccc}
.table_list th,.table_list td{padding:5px;text-align:center;}
.tips{width:700px;padding:15px;margin:10px auto;border:1px solid blue;color:blue;font-weight:bold;}
</style>
</head>
<body>
<div>
    <div class='tips'>
        每隔5分钟左右会有一条支付记录，如果超过<{$config.time/60}>分钟以上没有记录，说明支付业务出现异常<br>
        当前状态为：<{if $status}><span style='font-size:20px;color:green'>正常</span><{else}><span style='font-size:20px;color:red'>异常</span><{/if}>，服务器时间：<{'Y-m-d H:i:s'|date:$smarty.now}>
    </div>
    <table class='table_list' align='center'>
        <tr>
            <th>用户名</th>
            <th>金额（分）</th>
            <th>支付时间</th>
            <th>同步时间</th>
        </tr>
        <{foreach from=$list.list item=v}>
        <tr>
            <td><{$v.username}></td>
            <td><{$v.amout}></td>
            <td><{$v.paytime}></td>
            <td><{'Y-m-d H:i:s'|date:$v.ctime}></td>
        </tr>
        <{/foreach}>
    </table>
</div>
</body>
</html>
